package contacts.po;

public class Room {
	private int roomNo;
	private String roomName;

	public Room() {
		super();
	}

	public Room(int roomNo, String roomName) {
		super();
		this.roomNo = roomNo;
		this.roomName = roomName;
	}

	public int getRoomNo() {
		return roomNo;
	}

	public void setRoomNo(int roomNo) {
		this.roomNo = roomNo;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	@Override
	public String toString() {
		return "[宿舍号:" + roomNo + ", 宿舍名称:" + roomName + "]";
	}
}
